package com.fanben100.domain;

import java.io.Serializable;

import com.fanben100.util.NumberUtil;

/**
 * 商家
 * 
 * @author CYC
 * 
 */
public class Seller implements LoginModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer sellerId;

	private String loginId;

	private String sellerName;

	private String sellerPassword;

	private String identityNo;

	public Integer getSellerId() {
		return sellerId;
	}

	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getSellerPassword() {
		return sellerPassword;
	}

	public void setSellerPassword(String sellerPassword) {
		this.sellerPassword = sellerPassword;
	}

	public Serializable getLoginId() {
		return String.valueOf(this.loginId);
	}

	public String getLoginPassword() {
		return this.sellerPassword;
	}

	public void setLoginId(Serializable loginId) {
		this.loginId = String.valueOf(loginId);
		// if (NumberUtil.isNumeric1(String.valueOf(loginId))) {
		// this.sellerId = Integer.valueOf(loginId.toString());
		// }
	}

	public void setLoginPassword(String loginPassword) {
		this.sellerPassword = loginPassword;
	}

	public String getRealName() {
		return this.sellerName;
	}

	public void setRealName(String realName) {
		this.sellerName = realName;
	}

	public String getIdentify() {
		return this.identityNo;
	}

	public void setIdentify(String identify) {
		this.identityNo = identify;
	}

}
